cmake_minimum_required(VERSION 3.10.2)
project(test)

include_directories(sub)

#add_subdirectory(sub) 
#add_subdirectory(sub output)
add_subdirectory(sub output EXCLUDE_FROM_ALL)

add_executable(test main.cpp)
target_link_libraries(test sub)
